package code.joption;

import javax.swing.JOptionPane;

public class JOption {
	public static Boolean Popup(String msg ,String title) {
		int select=JOptionPane.showConfirmDialog(null, msg,title,JOptionPane.YES_NO_OPTION);
		if(select==1) {
			return false;
		}
		else
			return true;
	}
}
